Here is a sample of maps I made using Leaflet to represent different data sets in R.
First, I loaded in COVID-19 data from the New York Times. I filtered this data to show the specified date, which is the day the US surpassed 1million deaths due to COVID-19. Then I input this filtered data into a leaflet map, and added colors and the interactive stats which show up when you hover over a specific state. Finally, I added a map legend.
The following map expresses data of real estate sales in Sacramento. Using leaflet, I added circles whose size corresponds to the price of the real estate sale in that particular latitude and longitude location.
For attribution, please cite this work as
Tinsley (2021, April 20). My Blog: Mapping in Leaflet. Retrieved from https://morellet54.netlify.app/posts/2021-04-20-my-second-new-post/
BibTeX citation
@misc{tinsley2021mapping,
author = {Tinsley, Morelle},
title = {My Blog: Mapping in Leaflet},
url = {https://morellet54.netlify.app/posts/2021-04-20-my-second-new-post/},
year = {2021}
}